package com.tech.koufu.model;

import java.io.Serializable;

import org.json.JSONObject;

public class EntrustMsg implements Serializable{ 
	 
	private static final long serialVersionUID = 1674022235318539628L;
	public String username;
	 public String entrust_bs;
	 public String stock_code;
	 public String stock_name;
	 public String amount;
	 public String price;
	 public String date;
	 public String status;
	 public String source; 

	 public EntrustMsg(){
		 
	 }
	 public EntrustMsg(JSONObject jo){
		 this.username = jo.optString("username");
		 this.entrust_bs = jo.optString("entrust_bs");
		 this.stock_code = jo.optString("stock_code");
		 this.stock_name = jo.optString("stock_name");
		 this.amount = jo.optString("amount");
		 this.price = jo.optString("price");
		 this.date = jo.optString("date");
		 this.status = jo.optString("status");
		 this.source = jo.optString("source");
	 }
}
